package com.mdd.front.service.yangyangLeadingEnterprise;

import com.mdd.common.core.PageResult;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.validate.yangyangLeadingEnterprise.TAppModuleCreateValidate;
import com.mdd.front.validate.yangyangLeadingEnterprise.TAppModuleSearchValidate;
import com.mdd.front.validate.yangyangLeadingEnterprise.TAppModuleUpdateValidate;
import com.mdd.front.vo.yangyangLeadingEnterprise.TAppModuleDetailVo;
import com.mdd.front.vo.yangyangLeadingEnterprise.TAppModuleListedVo;

/**
 * app导航模块服务接口类
 * @author LikeAdmin
 */
public interface ITAppModuleService {

    /**
     * app导航模块列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<TAppModuleListedVo>
     */
    PageResult<TAppModuleListedVo> list(PageValidate pageValidate, TAppModuleSearchValidate searchValidate);

    /**
     * app导航模块详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return TAppModuleDetailVo
     */
    TAppModuleDetailVo detail(Integer id);

    /**
     * app导航模块新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(TAppModuleCreateValidate createValidate);

    /**
     * app导航模块编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(TAppModuleUpdateValidate updateValidate);

    /**
     * app导航模块删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

    /**
     * app导航模块查询
     * @param type
     * @return
     */
    String selectList(Integer type);
}
